package com.atguigu.guli.service.sms.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
//注意prefix要写到最后一个 "." 符号之前
@ConfigurationProperties(prefix="aliyun.sms")
public class SmsProperties {
    String appCode;//: 8e45699f00ff4bdbb807664045acd813
    String host;//: https://gyytz.market.alicloudapi.com
    String path;//: /sms/smsSend
    String method;//: POST
    String templateId1;//: a09602b817fd47e59e7c6e603d3f088d
    String templateId2;//: d6d95d8fb03c4246b944abcc1ea7efd8
    String smsSignId;//: 2e65b1bb3d054466b82f0c9d125465e2
}
